package top.yudoge.dogeeditor.db.objects

import top.yudoge.dogeeditor.db.api.DataSourceVendorEnum

/**
 * @author Yudoge
 * @since  2025/03/19
 *
 * 数据源配置
 * @param identifier the unique identifier of the data source
 * @param url
 * @param username
 * @param password
 * @param extraParams It depends on the data source(AKA connection pool) implementation you choose.
 */
data class DataSourceConfig(
    val identifier: String,
    val vendor: DataSourceVendorEnum,
    val url: String,
    val username: String,
    val password: String,
    val extraParams: Map<String, Any>?
)